public class Test1 {
    public static void main(String[] args) {
   int []arr=new int[]{1,2,3,4,5};
   double []arr2=new double[]{1.2,2.3};
   int []arr3={1,3,23};
   String[] arr4={"李四","张三"};
        for (int i = 0; i <5 ; i++) {
            System.out.printf("%d ",arr[i]);
        }
        System.out.printf("\n");
        for (int i = 0; i < arr4.length; i++) {
            System.out.printf("%s ",arr4[i]);
        }
       // System.out.println(arr4.length);
    }
}
